

const obj = {
    name: 'hhj',
    age: 18,
    sex: 'aa'
};
console.log('name' in obj);
console.log(delete obj['age']);
console.log(Object.keys(obj));


console.log(Reflect.has(obj, 'name'));
console.log(Reflect.deleteProperty(obj, 'sex'));
console.log(Reflect.ownKeys(obj));